package com.styles.codingstyle.Security.mapperAndInter;

import com.styles.codingstyle.Security.pojo.UserRoles;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 陈建
 * @Package com.styles.codingstyle.Security.mapperAndInter
 * @Description: 用户角色列表持久化接口
 * @date 2018/6/7 18:02
 */
public interface UserRolesMapper extends JpaRepository<UserRoles,String> {
    List<UserRoles> findByUserId(Long userId);
}
